package cdu.sl.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 根据加入码查询班级
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GetClassGroupByJoinCodeDTO {
    /**
     * 加入码
     */
    @NotBlank(message = "加入码不能为空")
    private String code;
}
